projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
261abe5
)
Revert "GtkNotebook: fix crash when DnD tabs between windows"
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 15 Jan 2012 23:54:05 +0000
(18:54 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 15 Jan 2012 23:54:05 +0000
(18:54 -0500)
This reverts commit
eeb9de80e17d1915d877c98eabd9a9a1f4423e9c
.
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index 231893f74c04cd5744dcc9e8610f3280e48772c9..32cdee71ee714d783f7f3547f20384b56c679f85 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-4958,10
+4958,7
@@
gtk_notebook_real_remove (GtkNotebook *notebook,
gtk_widget_unparent (page->child);
tab_label = page->tab_label;
- /* Do not unparent the tab label if it's already in another
- hierarchy. It means we are in the middle of a DnD and it's
- already taken care of. */
- if (tab_label && NOTEBOOK_IS_TAB_LABEL_PARENT (notebook, page))
+ if (tab_label)
{
g_object_ref (tab_label);
gtk_notebook_remove_tab_label (notebook, page);